package org.swan.web.user.bean;

import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
public class UserBean{

    public static final UserBean SAMPLE = new UserBean()
        .setUserId(-1L)
            .setKey("key")
            .setName("name")
            .setDescription("description")
            .setStatus(-1)
            .setNamespaceId(-1L)
    ;

    /**
     * user_id
     */
    private long userId;
    /**
     * key
     */
    private String key;
    /**
     * name of user
     */
    private String name;
    /**
     * description
     */
    private String description;
    /**
     * status 0 is enable,1 disable
     */
    private int status;
    /**
     * namespace of the user
     */
    private long namespaceId;
}
